package com.czwj.entities;

import java.util.Date;
import java.util.List;

public class Goods{
	private Integer id;
	
	private Integer projectitemid;
	
	private Integer projectitemchildid;
	
	private String name;
	
	private String specs;
	
	private String unit;
	
	private String initial;
	
	private String ends;
	
	private String actual;
	
	private String remark;
	
	private String reason;
	
	private Integer status;
	
	private Integer createrid;
	
	private Date createdate;
	
	private String createip;
	
	private Integer level2reviewerid;
	
	private Date level2reviewdate;
	
	private ProjectItem item;
	
	private ProjectItemChild projectitemchild;
	
	private List<Attachment> attachments;
	
	/**
	 * 创建一个新的实例 Goods.
	 *
	 */
	public Goods(){
		super();
		// TODO Auto-generated constructor stub
	}

	/**
	 * 创建一个新的实例 Goods.
	 *
	 * @param id
	 * @param projectitemid
	 * @param projectitemchildid
	 * @param name
	 * @param specs
	 * @param unit
	 * @param initial
	 * @param remark
	 * @param status
	 * @param createrid
	 * @param createdate
	 * @param createip
	 */
	public Goods(Integer id,Integer projectitemid,Integer projectitemchildid,String name,String specs,String unit,
			String initial,String ends,String remark,String actual,Integer status,Integer createrid,Date createdate,String createip){
		super();
		this.id = id;
		this.projectitemid = projectitemid;
		this.projectitemchildid = projectitemchildid;
		this.name = name;
		this.specs = specs;
		this.unit = unit;
		this.initial = initial;
		this.ends = ends;
		this.remark = remark;
		this.actual = actual;
		this.status = status;
		this.createrid = createrid;
		this.createdate = createdate;
		this.createip = createip;
	}

	public Goods(Integer id,Integer projectitemid,Integer projectitemchildid,String name,String specs,String unit,
			String initial,String remark,String actual,Integer status,Integer createrid,Date createdate,String createip){
		super();
		this.id = id;
		this.projectitemid = projectitemid;
		this.projectitemchildid = projectitemchildid;
		this.name = name;
		this.specs = specs;
		this.unit = unit;
		this.initial = initial;
		this.remark = remark;
		this.actual = actual;
		this.status = status;
		this.createrid = createrid;
		this.createdate = createdate;
		this.createip = createip;
	}
	public ProjectItem getItem(){
		return item;
	}
	
	public void setItem(ProjectItem item){
		this.item = item;
	}
	
	public ProjectItemChild getProjectitemchild(){
		return projectitemchild;
	}
	
	public void setProjectitemchild(ProjectItemChild projectitemchild){
		this.projectitemchild = projectitemchild;
	}
	
	public List<Attachment> getAttachments(){
		return attachments;
	}
	
	public void setAttachments(List<Attachment> attachments){
		this.attachments = attachments;
	}
	
	public Integer getId(){
		return id;
	}
	
	public void setId(Integer id){
		this.id = id;
	}
	
	public Integer getProjectitemid(){
		return projectitemid;
	}
	
	public void setProjectitemid(Integer projectitemid){
		this.projectitemid = projectitemid;
	}
	
	public Integer getProjectitemchildid(){
		return projectitemchildid;
	}
	
	public void setProjectitemchildid(Integer projectitemchildid){
		this.projectitemchildid = projectitemchildid;
	}
	
	public String getName(){
		return name;
	}
	
	public void setName(String name){
		this.name = name == null?null:name.trim();
	}
	
	public String getSpecs(){
		return specs;
	}
	
	public void setSpecs(String specs){
		this.specs = specs == null?null:specs.trim();
	}
	
	public String getUnit(){
		return unit;
	}
	
	public void setUnit(String unit){
		this.unit = unit == null?null:unit.trim();
	}
	
	public String getInitial(){
		return initial;
	}
	
	public void setInitial(String initial){
		this.initial = initial == null?null:initial.trim();
	}
	
	public String getEnds(){
		return ends;
	}
	
	public void setEnds(String ends){
		this.ends = ends;
	}
	
	public String getActual(){
		return actual;
	}
	
	public void setActual(String actual){
		this.actual = actual == null?null:actual.trim();
	}
	
	public String getRemark(){
		return remark;
	}
	
	public void setRemark(String remark){
		this.remark = remark == null?null:remark.trim();
	}
	
	public String getReason(){
		return reason;
	}
	
	public void setReason(String reason){
		this.reason = reason == null?null:reason.trim();
	}
	
	public Integer getStatus(){
		return status;
	}
	
	public void setStatus(Integer status){
		this.status = status;
	}
	
	public Integer getCreaterid(){
		return createrid;
	}
	
	public void setCreaterid(Integer createrid){
		this.createrid = createrid;
	}
	
	public Date getCreatedate(){
		return createdate;
	}
	
	public void setCreatedate(Date createdate){
		this.createdate = createdate;
	}
	
	public String getCreateip(){
		return createip;
	}
	
	public void setCreateip(String createip){
		this.createip = createip == null?null:createip.trim();
	}
	
	public Integer getLevel2reviewerid(){
		return level2reviewerid;
	}
	
	public void setLevel2reviewerid(Integer level2reviewerid){
		this.level2reviewerid = level2reviewerid;
	}
	
	public Date getLevel2reviewdate(){
		return level2reviewdate;
	}
	
	public void setLevel2reviewdate(Date level2reviewdate){
		this.level2reviewdate = level2reviewdate;
	}
}
